package com.jxgk.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class User {
    private Integer  uid ;
    private String  name;
    private String sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date  brh;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date rtime;
    private String  xueli;
    private Integer  zid;
    private String  address;
    private Integer  phone;
    private String  lianxiren;
    private Integer  did ;


    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBrh() {
        return brh;
    }

    public void setBrh(Date brh) {
        this.brh = brh;
    }

    public Date getRtime() {
        return rtime;
    }

    public void setRtime(Date rtime) {
        this.rtime = rtime;
    }

    public String getXueli() {
        return xueli;
    }

    public void setXueli(String xueli) {
        this.xueli = xueli;
    }

    public Integer getZid() {
        return zid;
    }

    public void setZid(Integer zid) {
        this.zid = zid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public String getLianxiren() {
        return lianxiren;
    }

    public void setLianxiren(String lianxiren) {
        this.lianxiren = lianxiren;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public User() {
    }

    public User(Integer uid, String name, String sex, Date brh, Date rtime, String xueli, Integer zid, String address, Integer phone, String lianxiren, Integer did) {
        this.uid = uid;
        this.name = name;
        this.sex = sex;
        this.brh = brh;
        this.rtime = rtime;
        this.xueli = xueli;
        this.zid = zid;
        this.address = address;
        this.phone = phone;
        this.lianxiren = lianxiren;
        this.did = did;
    }
}
